package com.sxbbc.common.core.entity.jz;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 充值金额规则设置
 * </p>
 *
 * @author 
 * @since 2019-10-30
 */
public class CRechargeAmountset implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 充值类型 1话费充值 2加油卡充值
     */
    private Integer type;

    /**
     * 充值到账金额，面额需要配合聚合的文档
     */
    private BigDecimal rechargemoney;

    /**
     * 实际所花金额
     */
    private BigDecimal realmoney;

    /**
     * 状态 0无效 1有效
     */
    private Integer status;

    /**
     * 创建时间
     */
    private LocalDateTime createtime;

    /**
     * 产品数量
     */
    private Integer cardnum;

    /**
     * 产品id
     */
    private String proid;

    public Integer getCardnum() {
        return cardnum;
    }

    public void setCardnum(Integer cardnum) {
        this.cardnum = cardnum;
    }

    public String getProid() {
        return proid;
    }

    public void setProid(String proid) {
        this.proid = proid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public BigDecimal getRechargemoney() {
        return rechargemoney;
    }

    public void setRechargemoney(BigDecimal rechargemoney) {
        this.rechargemoney = rechargemoney;
    }
    public BigDecimal getRealmoney() {
        return realmoney;
    }

    public void setRealmoney(BigDecimal realmoney) {
        this.realmoney = realmoney;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "CRechargeAmountset{" +
        "id=" + id +
        ", type=" + type +
        ", rechargemoney=" + rechargemoney +
        ", realmoney=" + realmoney +
        ", status=" + status +
        ", createtime=" + createtime +
        "}";
    }
}
